package com.eqxiu.ieditor.entity;

import java.util.Date;

/**
 * 
 * @description dingda
 * @author ranger
 * @date May 27, 2017
 */
public class Order {

	private Long id;

	private String name;

	private Integer productId;
	
	private String productCode;

	private Integer totalFee;

	private Byte status;

	private String createUser;

	private String remark;

	private Date createTime = new Date();
	// 可以作为第三方的订单备注
	private String transactionId;

	private String outOrderId;
	
	private String channel = "wpapp";

	private Integer payType;
	
	private Integer asyncId;
	
	private Integer mallOrderId;
	
    private String couponIds;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getOutOrderId() {
		return outOrderId;
	}

	public void setOutOrderId(String outOrderId) {
		this.outOrderId = outOrderId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	/**
	 * @return the asyncId
	 */
	public Integer getAsyncId() {
		return asyncId;
	}

	/**
	 * @param asyncId the asyncId to set
	 */
	public void setAsyncId(Integer asyncId) {
		this.asyncId = asyncId;
	}
	
	public Integer getMallOrderId() {
		return mallOrderId;
	}

	public void setMallOrderId(Integer mallOrderId) {
		this.mallOrderId = mallOrderId;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getCouponIds() {
		return couponIds;
	}

	public void setCouponIds(String couponIds) {
		this.couponIds = couponIds;
	}

	@Override
	public String toString() {
		return "Order{" + "id=" + id + ", name='" + name + '\'' + ", productId=" + productId + ", totalFee=" + totalFee
				+ ", status=" + status + ", createUser='" + createUser + '\'' + " remark='" + remark + '\''
				+ ", createTime=" + createTime + ", outOrderId='" + outOrderId + '\'' + ", channel='" + channel + '\''
				+ '}';
	}
}
